import React from "react";
import ReactDOM from "react-dom";
import { Provider } from "react-redux";
import configureStore from "./redux/configureStore";
import App from "./containers/App";

// 创建store
const store = configureStore();

ReactDOM.render(
    // 通过Provider 注入store
    <Provider store={store}>
        <App />
    </Provider>,
    document.getElementById("root")
);
